package com.shanyutiwen.springbootblogtest.dao;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private int id;
    private String username;
    private String password;
    private Date birthday;
    // 用户有哪些订单

    private List<Order> orderList;
    private List<Role> roleList;
}
